<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
   <%@ include file="/commons/basejs.jsp" %>
<div class="easyui-ribbon" id="tabs" style="width:100%;">
<!-- 
    <div title="系统管理">
         <div class="ribbon-group">

            <div class="ribbon-toolbar">
            		<a href="#"  style="margin-left: 2" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-sd',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">锁定</a>
            </div>
            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-qdpb',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">启动屏保</a>
            </div>
            <div class="ribbon-toolbar">
            		<a href="#"  style="margin-left: 2" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-tc',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">退出</a>
            </div>
            <div class="ribbon-group-title">操作</div>
        </div>
        <div class="ribbon-group-sep"></div>
         <div class="ribbon-group">

            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-mmsz',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">密码设置</a>
            </div>
            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-yhgl',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">用户管理</a>
            </div>
            <div class="ribbon-group-title">管理</div>
        </div>
        <div class="ribbon-group-sep"></div>
         <div class="ribbon-group">

            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-qzdy',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">群组定义</a>
            </div>
            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-fady',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">方案定义</a>
            </div>
            <div class="ribbon-group-title">操作</div>
        </div>
        <div class="ribbon-group-sep"></div>
    </div>
 -->
    <div  title="日常工作" selected = "true">
        <div class="ribbon-group">
            <div class="ribbon-toolbar">
              	查询: <input id ="searchbox-button" class="easyui-searchbox" style="width:70px">
              	<br>
              	 <a href="#" class="easyui-linkbutton" data-options="name:'cut',iconCls:'icon-cut',plain:true">高级查询条件</a><br>
            </div>
            <div class="ribbon-group-title">终端查询</div>
        </div>
        <div class="ribbon-group-sep"></div>
        <div class="ribbon-group">
            <div class="ribbon-toolbar" >
	            	时钟:<input class="easyui-datetimespinner" style="width:100px;" data-options="
					value: '6/24/2014',
					showSeconds: false
					"><br>
					密度:<select class="easyui-combobox" name="state" style="width:100px;">
							<option value="AL">1</option>
							<option value="AK">2</option>
							<option value="AZ">3</option>
							<option value="AR">4</option>
							<option value="CA">5</option>
						</select>
            </div>
            <div class="ribbon-group-title">历史数据召测条件设置</div>
        </div>
        <div class="ribbon-group-sep"></div>
          <div class="ribbon-group">
            <div class="ribbon-toolbar">
            		起始:<input class="easyui-numberspinner" value="1" style="width:60px;"  data-options="min:1,max:256,required:true,increment:1" style="width:60px;"></input>
  					事件编码:<select class="easyui-combobox" name="state" style="width:60px;">
							<option value="AL">简单</option>
							<option value="AK">一般</option>
							<option value="AZ">困难</option>
						</select>
            		<br>终止:<input class="easyui-numberspinner" value="256" style="width:60px;"  data-options="min:1,max:256,required:true,increment:1" style="width:60px;"></input>
            		最近条数:<input class="easyui-numberspinner" value="1" style="width:60px;"  data-options="min:1,max:256,required:true,increment:1" style="width:60px;"></input>
            		
            		<br>分类:<select class="easyui-combobox" name="state" style="width:60px;">
							<option value="AL">简单</option>
							<option value="AK">一般</option>
							<option value="AZ">困难</option>
						</select>
            </div>
             <div class="ribbon-group-title">事件查询条件设置</div>
         </div>
         <div class="ribbon-group-sep"></div>
          <div class="ribbon-group">
            <div class="ribbon-toolbar">
						分类:<select class="easyui-combobox" name="state" style="width:60px;">
							<option value="AL">简单</option>
							<option value="AK">一般</option>
							<option value="AZ">困难</option>
						</select>
						<br>序号:<select class="easyui-combobox" name="state" style="width:60px;">
							<option value="AL">3</option>
							<option value="AK">2</option>
							<option value="AZ">1</option>
						</select>
						<br>内容:<select class="easyui-combobox" name="state" style="width:60px;">
							<option value="AL">简单</option>
							<option value="AK">一般</option>
							<option value="AZ">困难</option>
						</select>
            </div>
            <div class="ribbon-toolbar">
 				<a href="#" class="easyui-linkbutton" data-options="name:'cut',iconCls:'icon-rc-bj',plain:true">编辑</a><br>
                <a href="#" class="easyui-linkbutton" onclick="sendClick('已发送')" data-options="name:'copy',iconCls:'icon-rc-fs',plain:true">发送</a><br>
                <a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-zc',plain:true">召测</a>
            </div>
             <div class="ribbon-group-title">信息</div>
         </div>
         <div class="ribbon-group-sep"></div>
          <div class="ribbon-group">

            <div class="ribbon-toolbar">
           	 	<a href="#" class="easyui-linkbutton" onclick="sendClick('工作秘钥：J0001<br>会话秘钥：S0002')" data-options="name:'format',iconCls:'icon-rc-bbzc',plain:true">版本召测</a>
           	  	<br><a href="#" class="easyui-linkbutton" onclick="alert('确认')"  data-options="name:'format',iconCls:'icon-rc-gzmy',plain:true">工作秘钥</a>
           	   	<br><a href="#" class="easyui-linkbutton" onclick="alert('确认')"  data-options="name:'format',iconCls:'icon-rc-hhmy',plain:true">会话秘钥</a>	
            </div>
            <div class="ribbon-group-title">秘钥</div>
        </div>
        <div class="ribbon-group-sep"></div>
          <div class="ribbon-group">

            <div class="ribbon-toolbar">
           	 	<a href="#" class="easyui-linkbutton" onclick="alert('确认')"  data-options="name:'format',iconCls:'icon-rc-sdfw',plain:true">上电复位</a>
           	  	<br><a href="#" class="easyui-linkbutton" onclick="alert('确认')"  data-options="name:'format',iconCls:'icon-rc-sjfw',plain:true">数据复位</a>
           	   	<br><a href="#" class="easyui-linkbutton" onclick="alert('确认')"  data-options="name:'format',iconCls:'icon-rc-csfw',plain:true">参数复位</a>	
            </div>
            <div class="ribbon-toolbar">
           	 	<a href="#" class="easyui-linkbutton" onclick="alert('确认')"  data-options="name:'format',iconCls:'icon-rc-rjfw',plain:true">软件复位</a>
            </div>
            <div class="ribbon-group-title">秘钥</div>
        </div>
        <div class="ribbon-group-sep"></div>
          <div class="ribbon-group">

            <div class="ribbon-toolbar">
           	 	<a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-zc1',plain:true">召测</a>
           	  	<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-sz',plain:true">设置</a>
           	   	<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-gb',plain:true">广播</a>	
            </div>
        </div>
        <div class="ribbon-group-sep"></div>
         <div class="ribbon-group">

            <div class="ribbon-toolbar">
           	 	<a href="#" class="easyui-linkbutton" onclick="dlg_open('xd_dlg')" data-options="name:'format',iconCls:'icon-rc-lsxd',plain:true">临时限电</a>
           	  	<br><a href="#" class="easyui-linkbutton"  onclick="dlg_open('gk_dlg')" data-options="name:'format',iconCls:'icon-rc-gk',plain:true">功控</a>
           	   	<br><a href="#" class="easyui-linkbutton"  onclick="dlg_open('dk_dlg')" data-options="name:'format',iconCls:'icon-rc-dk',plain:true">电控</a>	
            </div>
            <div class="ribbon-group-title">控制</div>
        </div>
        <div class="ribbon-group-sep"></div>
         <div class="ribbon-group">

            <div class="ribbon-toolbar">
           	 	<a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-jrtsms',plain:true">进入调试模式</a>
           	  	<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-jrplms',plain:true">进入批量模式</a>
            </div>
            <div class="ribbon-group-title">运行设置</div>
        </div>
        <div class="ribbon-group-sep"></div>
         <div class="ribbon-group">

            <div class="ribbon-toolbar">
           	 	<a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-bj',plain:true">多媒体设备管理</a>
           	  	<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-fs',plain:true">终端视屏监测</a>
            </div>
            <div class="ribbon-group-title">光纤终端</div>
        </div>
        <div class="ribbon-group-sep"></div>
    </div>
<%
/*
    <div title="任务管理">
        <div class="ribbon-group">

            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 2" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-sx',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">刷新</a>
            </div>
            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 2" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-dc',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">导出</a>
            </div>
            <div class="ribbon-group-title">管理</div>
        </div>
        <div class="ribbon-group-sep"></div>
        <div class="ribbon-group" >

            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-xcrz',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton " data-options="name:'format',iconCls:'',plain:true">巡测日志</a>
            </div>
            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-czrz',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton linkbtn" data-options="name:'format',iconCls:'',plain:true">操作日志</a>
            </div>
            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 17" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-csszrz',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton linkbtn" data-options="name:'format',iconCls:'',plain:true">参数设置日志</a>
            </div>
            <div class="ribbon-group-title">任务分类</div>
        </div>
        <div class="ribbon-group-sep"></div>
        <div class="ribbon-group">

            <div class="ribbon-toolbar">
            		<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-mbpz',plain:true"></a>
            		<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">模板配置</a>
            </div>
            <div class="ribbon-group-title">任务模板配置</div>
        </div>
        <div class="ribbon-group-sep"></div>
      
    </div>
    <div title="信道管理">
       
    </div>
    <div title="需求测供应">

    </div>
    <div title="远程升级">
       
    </div>
*/
%>    
</div>
<script>

$(function(){
	
	$('#tabs').tabs({
	    border:false,
	    onSelect:function(title){
	    	titleChange(title);
	    }
	});
	
})
$(function(){
	$("#menu").find("a").click(function(text){
		var text = $(this).find(".l-btn-text").html();
		console.log(text)
	})
	$(".searchbox-button").click(function(){
		reloadtab();
	})
})

function sendClick(text){
		$('#dlg_text').html(text)
	   $('#dlg_text').dialog('open')
}
</script>
